package cn.tedu.car.backend.user.pojo.dto;

import cn.tedu.car.backend.user.enums.UserStatus;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class UserSaveParam {

    private Long id;
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "名称不能为空")
    private String name;
    @NotBlank(message = "电话不能为空")
    private String phone;
    @NotNull(message = "用户状态不能为空")
    private UserStatus status;
    private String department;
    private String job;
}
